﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package eu.orangeflash.webapis.wp {
    import flash.events.*;
    import mx.events.*;

    public class Content implements IEventDispatcher {

        private var _bindingEventDispatcher:EventDispatcher;
        private var raw:Object;

        public namespace orangeblogging = "eu.orangeflash.webapis.wp:Content/orangeblogging";

        public function Content(rawStruct:Object=null){
            raw = new Object();
            _bindingEventDispatcher = new EventDispatcher(IEventDispatcher(this));
            super();
            raw.categories = new Array();
            if (rawStruct != null){
                raw = rawStruct;
            };
        }
        private function set _1003842014textMore(value:String):void{
            raw.mt_text_more = value;
        }
        public function hasEventListener(type:String):Boolean{
            return (_bindingEventDispatcher.hasEventListener(type));
        }
        public function set textMore(value:String):void{
            var oldValue:Object;
            oldValue = this.textMore;
            if (oldValue !== value){
                this._1003842014textMore = value;
                dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "textMore", oldValue, value));
            };
        }
        public function willTrigger(type:String):Boolean{
            return (_bindingEventDispatcher.willTrigger(type));
        }
        private function set _1355890824allowPings(value:Boolean):void{
            raw.mt_allow_pings = ((value)==1) ? true : false;
        }
        public function get link():String{
            return (raw.link);
        }
        private function set _648842333allowComments(value:Boolean):void{
            raw.mt_allow_comments = ((value)==1) ? true : false;
        }
        public function get permaLink():String{
            return (raw.permaLink);
        }
        public function addEventListener(type:String, listener:Function, useCapture:Boolean=false, priority:int=0, weakRef:Boolean=false):void{
            _bindingEventDispatcher.addEventListener(type, listener, useCapture, priority, weakRef);
        }
        public function removeEventListener(type:String, listener:Function, useCapture:Boolean=false):void{
            _bindingEventDispatcher.removeEventListener(type, listener, useCapture);
        }
        private function set _667479819permaLink(value:String):void{
            raw.permaLink = value;
        }
        public function set permaLink(value:String):void{
            var oldValue:Object;
            oldValue = this.permaLink;
            if (oldValue !== value){
                this._667479819permaLink = value;
                dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "permaLink", oldValue, value));
            };
        }
        public function get title():String{
            return (raw.title);
        }
        public function get dateCreated():Date{
            return (raw.dateCreated);
        }
        public function get categories():Array{
            return (raw.categories);
        }
        public function get rawStruct():Object{
            return (raw);
        }
        private function set _3321850link(value:String):void{
            raw.link = value;
        }
        public function get textMore():String{
            return (raw.mt_text_more);
        }
        public function get allowComments():Boolean{
            return (((raw.mt_allow_comments)==1) ? true : false);
        }
        public function set categories(value:Array):void{
            var oldValue:Object;
            oldValue = this.categories;
            if (oldValue !== value){
                this._1296516636categories = value;
                dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "categories", oldValue, value));
            };
        }
        public function set allowComments(value:Boolean):void{
            var oldValue:Object;
            oldValue = this.allowComments;
            if (oldValue !== value){
                this._648842333allowComments = value;
                dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "allowComments", oldValue, value));
            };
        }
        public function set allowPings(value:Boolean):void{
            var oldValue:Object;
            oldValue = this.allowPings;
            if (oldValue !== value){
                this._1355890824allowPings = value;
                dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "allowPings", oldValue, value));
            };
        }
        public function dispatchEvent(event:Event):Boolean{
            return (_bindingEventDispatcher.dispatchEvent(event));
        }
        private function set _1296516636categories(value:Array):void{
            raw.categories = value;
        }
        public function set link(value:String):void{
            var oldValue:Object;
            oldValue = this.link;
            if (oldValue !== value){
                this._3321850link = value;
                dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "link", oldValue, value));
            };
        }
        private function set _110371416title(value:String):void{
            raw.title = value;
        }
        public function set title(value:String):void{
            var oldValue:Object;
            oldValue = this.title;
            if (oldValue !== value){
                this._110371416title = value;
                dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "title", oldValue, value));
            };
        }
        public function get allowPings():Boolean{
            return (((raw.mt_allow_pings)==1) ? true : false);
        }
        private function set _2071345318dateCreated(value:Date):void{
            raw.dateCreated = value;
        }
        public function set dateCreated(value:Date):void{
            var oldValue:Object;
            oldValue = this.dateCreated;
            if (oldValue !== value){
                this._2071345318dateCreated = value;
                dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "dateCreated", oldValue, value));
            };
        }
        public function get description():String{
            return (raw.description);
        }
        private function set _1724546052description(value:String):void{
            raw.description = value;
        }
        public function set description(value:String):void{
            var oldValue:Object;
            oldValue = this.description;
            if (oldValue !== value){
                this._1724546052description = value;
                dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "description", oldValue, value));
            };
        }

    }
}//package eu.orangeflash.webapis.wp 
